jade.util.leap
Class Properties

java.lang.Object
  |
  +--java.util.Dictionary
        |
        +--java.util.Hashtable
              |
              +--java.util.Properties
                    |
                    +--jade.util.leap.Properties

public class Properties
extends java.util.Properties
implements Serializable

J2SE implementation of the Properties.

See Also:
Serialized Form

Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
Properties()
          Constructor declaration
Properties(java.lang.String fileName)
          Creates an empty property list.
 
Method Summary
 java.lang.String getProperty(java.lang.String key)
          Searches for the property with the specified key in this property list.
 void load()
          Reads a property list (key and element pairs) from the default persistent storage.
 java.lang.Object setProperty(java.lang.String key, java.lang.String value)
          Calls the hashtable method put.
 void store()
          Stores this property list (key and element pairs) to the default persistent storage.
 
Methods inherited from class java.util.Properties
getProperty, list, list, load, propertyNames, save, store
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Properties

public Properties()
Constructor declaration

Properties

public Properties(java.lang.String fileName)
Creates an empty property list.
Method Detail

setProperty

public java.lang.Object setProperty(java.lang.String key,
                                    java.lang.String value)
Calls the hashtable method put.
Overrides:
setProperty in class java.util.Properties
Parameters:
key - the key to be placed into this property list.
value - the value corresponding to key.
See Also:
getProperty(java.lang.String)

getProperty

public java.lang.String getProperty(java.lang.String key)
Searches for the property with the specified key in this property list. The method returns null if the property is not found.
Overrides:
getProperty in class java.util.Properties
Parameters:
key - the property key.
Returns:
the value in this property list with the specified key value.
See Also:
setProperty(java.lang.String, java.lang.String)

load

public void load()
          throws java.io.IOException
Reads a property list (key and element pairs) from the default persistent storage.

store

public void store()
           throws java.io.IOException
Stores this property list (key and element pairs) to the default persistent storage.